﻿CREATE PROCEDURE [dbo].[GetLastWorkflowTriggerInstanceByTriggerComponentID]
(@TriggerComponentID varchar(50)) as 
begin
	select * from WorkflowTriggerInstance where TriggerComponentID=@TriggerComponentID order by LastRunTime desc
end


